package com.xyoto.community.enums;

/**
 * @author coderFu
 * @create 2021/10/1
 *匿名用户返回枚举
 */

public enum AnonyUserEnum implements Code {


    UPDATE_ANONY_USER_FAIL(4200,"更新匿名用户信息失败"),
    ANONY_USER_NOT_EXIST(4201,"匿名用户不存在"),
    SAVE_ANONY_USER_FAIL(4202,"新增匿名用户信息失败")
    ;




   private int code;
   private String msg;
    AnonyUserEnum(int code, String msg){
        this.code = code;
        this.msg = msg;
    }


    @Override
    public int code() {
        return this.code;
    }

    @Override
    public String msg() {
        return this.msg;
    }
}
